package com.mjkj.controller;

import com.mjkj.core.result.Result;
import com.mjkj.core.result.ResultGenerator;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Tag(name = "alibaba支付交易表")
public class AlibabaPaymentController {

    @GetMapping("/pay/nacos/{id}")
    @Operation(summary = "根据ID查询支付交易")
    public Result getPaymentById(@PathVariable(value = "id") Long id) {
        return ResultGenerator.genSuccessResult(id);
    }
}
